package cn.springcloud.fix.server.controller;

import cn.springcloud.fix.common.core.base.R;
import cn.springcloud.fix.server.api.log.feign.RemoteLogService;
import cn.springcloud.fix.server.api.log.request.SysLoginLogRequest;
import cn.springcloud.fix.server.api.log.request.SysOperateLogRequest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/remote")
public class RemoteLogServiceController implements RemoteLogService {

    @Override
    @PostMapping("/insertOpLog")
    public R<Object> insertOpLog(SysOperateLogRequest request) {
        return null;
    }

    @Override
    @GetMapping("/test")
    public R<Object> insertLoginLog(SysLoginLogRequest request) {
        return null;
    }
}
